< previous page page_179 next page >

Page 179
2. Write the format property for a MaskedEdit control that rounds the entered number to the nearest hundredth, includes commas in all numbers, and places an en dash () in front of negative numbers.
3. Write a form-level validation routine that requires that entry be made into a field named txtDate before a record can be saved by pressing a button named cmdOK.
4. Write the code to fill a combo box named cboEmployees with your employees' last names of Smith, Andersen, Jones, and Jackson. What property do you set in the combo box control to sort these names alphabetically?

 
< previous page page_179 next page >

If you like this book, buy it!